package com.ruoyi.btlfbreed.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 肉鸡出栏对象 tb_chicken_out_registry
 * 
 * @author codeman
 * @date 2024-05-07
 */
public class TbChickenOutRegistry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 肉鸡信息 */

    private Long chickenId;
    @Excel(name = "肉鸡信息")
    private String chickenNo;
    /** 客户信息 */
    @Excel(name = "客户信息")
    private Long customerId;
    @Excel(name = "客户信息")
    private String customerName;
    private Long SaleId;
    /** 出栏日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出栏日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outDate;

    /** 出栏体重 */
    @Excel(name = "出栏体重")
    private BigDecimal outWeight;

    /** 描述 */
    @Excel(name = "描述")
    private String destination;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setChickenId(Long chickenId) 
    {
        this.chickenId = chickenId;
    }

    public Long getChickenId() 
    {
        return chickenId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setOutDate(Date outDate) 
    {
        this.outDate = outDate;
    }

    public Date getOutDate() 
    {
        return outDate;
    }
    public void setOutWeight(BigDecimal outWeight) 
    {
        this.outWeight = outWeight;
    }

    public BigDecimal getOutWeight() 
    {
        return outWeight;
    }
    public void setDestination(String destination) 
    {
        this.destination = destination;
    }

    public String getDestination() 
    {
        return destination;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getChickenNo()
    {
        return chickenNo;
    }

    public void setChickenNo(String chickenNo)
    {
        this.chickenNo = chickenNo;
    }

    public String getCustomerName()
    {
        return customerName;
    }

    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public Long getSaleId()
    {
        return SaleId;
    }

    public void setSaleId(Long saleId)
    {
        SaleId = saleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("chickenId", getChickenId())
            .append("customerId", getCustomerId())
            .append("outDate", getOutDate())
            .append("outWeight", getOutWeight())
            .append("destination", getDestination())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
